package com.luomu.base.control.config;

import com.luomu.base.api.cookBook.address.service.ExpressAddressService;
import com.luomu.base.api.cookBook.excel.service.CommonExcelExportService;
import com.luomu.base.api.cookBook.excel.service.ExpressAddressExcelService;
import com.luomu.base.api.cookBook.simple.service.FinanceArApAndInvoiceInfoService;
import com.luomu.base.api.cookBook.simple.service.ApiService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BizConfig {

    @FeignClient(name="base-biz", contextId = "apiService", path="/apiService")
    public interface ApiServiceExt extends ApiService {}

    @FeignClient(name="base-biz", contextId = "commonExcelExportService", path="/commonExcelExportService")
    public interface CommonExcelExportServiceExt extends CommonExcelExportService {}

    @FeignClient(name="base-biz", contextId = "commonExcelExportService", path="/commonExcelExportService")
    public interface FinanceArApAndInvoiceInfoServiceExt extends FinanceArApAndInvoiceInfoService {}

    @FeignClient(name="base-biz", contextId = "expressAddressExcelService", path="/expressAddressExcelService")
    public interface ExpressAddressExcelServiceExt extends ExpressAddressExcelService {}

    @FeignClient(name="base-biz", contextId = "expressAddressService", path="/expressAddressService")
    public interface ExpressAddressServiceExt extends ExpressAddressService {}
}
